import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/home',
  },
  {
    path: '/home',
    name: 'home',
    component: () => import('@/views/home')
  },
  {
    path: '/me',
    name: 'me',
    component: () => import('@/views/me')
  },
  {
    path: '/history',
    name: 'history',
    component: () => import('@/views/history')
  },{
	  path:'/product',
	  name: 'product',
	  component: () => import('@/views/product')
  },{
	  path:'/journalism',
	  name:'journalism',
	  component: () => import('@/views/journalism')
  },{
	  path:'/notice',
	  name:'notice',
	  component: () => import('@/views/notice')
  },{
	  path:'/details',
	  name:'details',
	  component: () => import('@/views/details')
  }
]

const router = new VueRouter({
  routes
})

export default router
